<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class com.drew.lang.Rational (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="Uses of Class com.drew.lang.Rational (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/drew/lang/\class-useRational.html" target="_top">Frames</a></li>
<li><a href="Rational.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.drew.lang.Rational" class="title">Uses of Class<br>com.drew.lang.Rational</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.drew.lang">com.drew.lang</a></td>
<td class="colLast">
<div class="block">Contains classes of generic utility.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.drew.metadata">com.drew.metadata</a></td>
<td class="colLast">
<div class="block">Provides classes for generic modelling of metadata directories and tags.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.drew.lang">
<!--   -->
</a>
<h3>Uses of <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a> in <a href="../../../../com/drew/lang/package-summary.html">com.drew.lang</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/drew/lang/package-summary.html">com.drew.lang</a> that return <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></code></td>
<td class="colLast"><span class="strong">Rational.</span><code><strong><a href="../../../../com/drew/lang/Rational.html#getReciprocal()">getReciprocal</a></strong>()</code>
<div class="block">Returns the reciprocal value of this object as a new Rational.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></code></td>
<td class="colLast"><span class="strong">Rational.</span><code><strong><a href="../../../../com/drew/lang/Rational.html#getSimplifiedInstance()">getSimplifiedInstance</a></strong>()</code>
<div class="block">
 Simplifies the Rational number.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/drew/lang/package-summary.html">com.drew.lang</a> with parameters of type <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Double</code></td>
<td class="colLast"><span class="strong">GeoLocation.</span><code><strong><a href="../../../../com/drew/lang/GeoLocation.html#degreesMinutesSecondsToDecimal(com.drew.lang.Rational, com.drew.lang.Rational, com.drew.lang.Rational, boolean)">degreesMinutesSecondsToDecimal</a></strong>(<a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a>&nbsp;degs,
                              <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a>&nbsp;mins,
                              <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a>&nbsp;secs,
                              boolean&nbsp;isNegative)</code>
<div class="block">Converts DMS (degrees-minutes-seconds) rational values, as given in <a href="../../../../com/drew/metadata/exif/GpsDirectory.html" title="class in com.drew.metadata.exif"><code>GpsDirectory</code></a>,
 into a single value in degrees, as a double.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.drew.metadata">
<!--   -->
</a>
<h3>Uses of <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a> in <a href="../../../../com/drew/metadata/package-summary.html">com.drew.metadata</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/drew/metadata/package-summary.html">com.drew.metadata</a> that return <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></code></td>
<td class="colLast"><span class="strong">Directory.</span><code><strong><a href="../../../../com/drew/metadata/Directory.html#getRational(int)">getRational</a></strong>(int&nbsp;tagType)</code>
<div class="block">Returns the specified tag's value as a Rational.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a>[]</code></td>
<td class="colLast"><span class="strong">Directory.</span><code><strong><a href="../../../../com/drew/metadata/Directory.html#getRationalArray(int)">getRationalArray</a></strong>(int&nbsp;tagType)</code>
<div class="block">Returns the specified tag's value as an array of Rational.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/drew/metadata/package-summary.html">com.drew.metadata</a> with parameters of type <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Directory.</span><code><strong><a href="../../../../com/drew/metadata/Directory.html#setRational(int, com.drew.lang.Rational)">setRational</a></strong>(int&nbsp;tagType,
           <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a>&nbsp;rational)</code>
<div class="block">Sets a <code>Rational</code> value for the specified tag.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Directory.</span><code><strong><a href="../../../../com/drew/metadata/Directory.html#setRationalArray(int, com.drew.lang.Rational[])">setRationalArray</a></strong>(int&nbsp;tagType,
                <a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</a>[]&nbsp;rationals)</code>
<div class="block">Sets a <code>Rational[]</code> (array) for the specified tag.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/drew/lang/\class-useRational.html" target="_top">Frames</a></li>
<li><a href="Rational.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2003-2012 Drew Noakes. All Rights Reserved.</i>
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'></script>
<script type='text/javascript'>
_uacct = 'UA-936661-1';
urchinTracker();
</script></small></p>
</body>
</html>
